#include <iostream>

using namespace std;

int main() {
    cout << 5050 * 5050 - 100 * 101 * 201 / 6 << endl;
}